package com.atguigu.spring.beans.collections;

import com.atguigu.spring.beans.Car;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Person {
    @NonNull private String name;
    private int age;
    private List<Car> cars;

}
